package com.neusoft.dao;

import com.neusoft.entity.ProductOfShopCart;
import com.neusoft.entity.ShopCart;

import java.util.Map;


public interface ShopCartMapper {
    public Integer addShopCart(ShopCart shopCart);

    public Integer addProductIntoShopCart(ProductOfShopCart ps);

    public Integer addProductCount(ProductOfShopCart ps);

    public ShopCart findShopCartById(Integer id);

    public ShopCart findShopCartByUserId(Integer userId);

    public ProductOfShopCart findProdutOfShopCart(Map<String,Object> map);
}
